Skip to main content

All Questions

6votes
3answers
370views

Leetcode - First Unique Character in a String

Given a string, find the first non-repeating character in it and return its index. If it doesn't exist, return -1. Examples: ...
Mosbius8's user avatar
4votes
1answer
929views

Longest Substring Without Repeating Characters in Scala

Question is taken from Leetcode and solution works for their test cases. I do see a scope of improvement and make it more functional (getting rid of vars and mutables data structures). Please suggest ...
vikrant's user avatar
8votes
5answers
3kviews

A custom String Builder implementation

Two code files below : the actual logic & the test logic. Core Logic ...
nikel's user avatar

close